//
//  HJTicketView.m
//  project
//
//  Created by hu on 2019/4/9.
//  Copyright © 2019 健健. All rights reserved.
//

#import "HJTicketView.h"
@interface HJTicketView ()
@property (weak, nonatomic) IBOutlet UIView *bgView;
@property (weak, nonatomic) IBOutlet UIView *topView;
@property (weak, nonatomic) IBOutlet UIView *btmView;
@property (weak, nonatomic) IBOutlet UILabel *topName;
@property (weak, nonatomic) IBOutlet UILabel *topPosition;
@property (weak, nonatomic) IBOutlet UILabel *topSeat;
@property (weak, nonatomic) IBOutlet UIButton *signBtn;

@property (weak, nonatomic) IBOutlet UILabel *btmName;
@property (weak, nonatomic) IBOutlet UILabel *btmPosition;
@property (weak, nonatomic) IBOutlet UILabel *btmSeat;
@property (weak, nonatomic) IBOutlet UIButton *ticketBtn;
@end
@implementation HJTicketView
-(void)awakeFromNib {
    [super awakeFromNib];
    [self.bgView rounded:UIRectCornerAllCorners radius:10];
    [self.topView rounded:UIRectCornerAllCorners radius:10];
    [self.btmView rounded:UIRectCornerAllCorners radius:10];
    [self.ticketBtn rounded:UIRectCornerAllCorners radius:15 borderColor:[UIColor colorWithHex:0xFE6A7F] borderWidth:1];
}
-(instancetype)init {
    if (self == [super init]) {
        self = [[NSBundle mainBundle]loadNibNamed:@"HJTicketView" owner:nil options:nil].firstObject;
    }
    return self;
}
- (IBAction)signBtnClicked:(id)sender {
    
}


- (IBAction)ticketBtnClicked:(id)sender {
    
}
@end
